package com.trxy.hotelsystem.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trxy.hotelsystem.dao.warehouseRecordMapper;
import com.trxy.hotelsystem.model.warehouseRecord;
import com.trxy.hotelsystem.service.Warehouse_recordsevice;

@Service
public class Warehouse_recordseviceImpl implements Warehouse_recordsevice{
	
	@Autowired 
	private warehouseRecordMapper warehouseRecordmapper;

	@Override
	public int insertWarehouse_record(warehouseRecord warehouseRecord) {
		// TODO Auto-generated method stub
		return warehouseRecordmapper.insertWarehouse_record(warehouseRecord);
	}

	@Override
	public List<warehouseRecord> queryWarehouseRecordAll() {
		// TODO Auto-generated method stub
		return warehouseRecordmapper.queryWarehouseRecordAll();
	}

	@Override
	public List<warehouseRecord> selectWarehouseRecord(warehouseRecord warehouseRecord) {
		// TODO Auto-generated method stub
		return warehouseRecordmapper.selectWarehouseRecord(warehouseRecord);
	}
	

}
